package me.ahoukuse.koala.service;

import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject;
import me.ahoukuse.koala.po.SharedFiles;

import java.util.List;

public interface SharedService {
    JSONObject newShare(int userId, String sharedCode, List<String> sharedFile);
    JSONObject newShare(int userId, List<String> sharedFile);
    JSONObject getSharedFiles(String sharedCode);

    JSONObject getSharedByUserId(int userId);


    JSONObject updateSharedBySharedCode(SharedFiles sharedFiles);
    JSONObject getSharedBySharedCode(String sharedCode);
}
